package org.tinygroup.channel.protocol;

import org.tinygroup.channel.protocol.impl.ProtocolListenerChain;
import org.tinygroup.context.Context;

public interface ProtocolListener<Request,Response> {
	void pre(Request request,Context context,ProtocolListenerChain chain);
	void post(Request request,Response response,Context context,ProtocolListenerChain chain);
	String getId();
	void setId(String id);
}
